import QtQuick 2.0
import Qt3D 1.0

Rotation3D{
    id: _root
    property int duration: 200
    property alias running: _anim.running
    property alias enabled: _trigger.enabled
    property bool isSpin: false
    origin: Qt.vector3d(0, 0, 0)
    axis: Qt.vector3d(0, 0, 0)
    Behavior on angle{
        id: _trigger
        NumberAnimation{ id: _anim; duration: _root.duration }
    }
}
